Integrand size = 14, antiderivative size = 102 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=-\frac {4 b^2 x}{9 c^2}-\frac {2 b^2 x^3}{27}+\frac {4 b \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c^3}+\frac {2 b x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c}+\frac {1}{3} x^3 (a+b \arcsin (c x))^2 \]
[Out]
Time = 0.10 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {4723, 4795, 4767, 8, 30} \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\frac {2 b x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c}+\frac {4 b \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c^3}+\frac {1}{3} x^3 (a+b \arcsin (c x))^2-\frac {4 b^2 x}{9 c^2}-\frac {2}{27} b^2 x^3 \]
[In]
[Out]
Rule 8
Rule 30
Rule 4723
Rule 4767
Rule 4795
Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} x^3 (a+b \arcsin (c x))^2-\frac {1}{3} (2 b c) \int \frac {x^3 (a+b \arcsin (c x))}{\sqrt {1-c^2 x^2}} \, dx \\ & = \frac {2 b x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c}+\frac {1}{3} x^3 (a+b \arcsin (c x))^2-\frac {1}{9} \left (2 b^2\right ) \int x^2 \, dx-\frac {(4 b) \int \frac {x (a+b \arcsin (c x))}{\sqrt {1-c^2 x^2}} \, dx}{9 c} \\ & = -\frac {2}{27} b^2 x^3+\frac {4 b \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c^3}+\frac {2 b x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c}+\frac {1}{3} x^3 (a+b \arcsin (c x))^2-\frac {\left (4 b^2\right ) \int 1 \, dx}{9 c^2} \\ & = -\frac {4 b^2 x}{9 c^2}-\frac {2 b^2 x^3}{27}+\frac {4 b \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c^3}+\frac {2 b x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))}{9 c}+\frac {1}{3} x^3 (a+b \arcsin (c x))^2 \\ \end{align*}
Time = 0.12 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.93 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\frac {1}{3} \left (x^3 (a+b \arcsin (c x))^2-\frac {2 b \left (6 b c x+b c^3 x^3-6 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))-3 c^2 x^2 \sqrt {1-c^2 x^2} (a+b \arcsin (c x))\right )}{9 c^3}\right ) \]
[In]
[Out]
Time = 0.05 (sec) , antiderivative size = 125, normalized size of antiderivative = 1.23
method | result | size |
parts | \(\frac {a^{2} x^{3}}{3}+\frac {b^{2} \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )^{2}}{3}+\frac {2 \arcsin \left (c x \right ) \left (c^{2} x^{2}+2\right ) \sqrt {-c^{2} x^{2}+1}}{9}-\frac {2 c^{3} x^{3}}{27}-\frac {4 c x}{9}\right )}{c^{3}}+\frac {2 a b \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )}{3}+\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{9}+\frac {2 \sqrt {-c^{2} x^{2}+1}}{9}\right )}{c^{3}}\) | \(125\) |
derivativedivides | \(\frac {\frac {a^{2} c^{3} x^{3}}{3}+b^{2} \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )^{2}}{3}+\frac {2 \arcsin \left (c x \right ) \left (c^{2} x^{2}+2\right ) \sqrt {-c^{2} x^{2}+1}}{9}-\frac {2 c^{3} x^{3}}{27}-\frac {4 c x}{9}\right )+2 a b \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )}{3}+\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{9}+\frac {2 \sqrt {-c^{2} x^{2}+1}}{9}\right )}{c^{3}}\) | \(126\) |
default | \(\frac {\frac {a^{2} c^{3} x^{3}}{3}+b^{2} \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )^{2}}{3}+\frac {2 \arcsin \left (c x \right ) \left (c^{2} x^{2}+2\right ) \sqrt {-c^{2} x^{2}+1}}{9}-\frac {2 c^{3} x^{3}}{27}-\frac {4 c x}{9}\right )+2 a b \left (\frac {c^{3} x^{3} \arcsin \left (c x \right )}{3}+\frac {c^{2} x^{2} \sqrt {-c^{2} x^{2}+1}}{9}+\frac {2 \sqrt {-c^{2} x^{2}+1}}{9}\right )}{c^{3}}\) | \(126\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.09 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\frac {9 \, b^{2} c^{3} x^{3} \arcsin \left (c x\right )^{2} + 18 \, a b c^{3} x^{3} \arcsin \left (c x\right ) + {\left (9 \, a^{2} - 2 \, b^{2}\right )} c^{3} x^{3} - 12 \, b^{2} c x + 6 \, {\left (a b c^{2} x^{2} + 2 \, a b + {\left (b^{2} c^{2} x^{2} + 2 \, b^{2}\right )} \arcsin \left (c x\right )\right )} \sqrt {-c^{2} x^{2} + 1}}{27 \, c^{3}} \]
[In]
[Out]
Time = 0.28 (sec) , antiderivative size = 170, normalized size of antiderivative = 1.67 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\begin {cases} \frac {a^{2} x^{3}}{3} + \frac {2 a b x^{3} \operatorname {asin}{\left (c x \right )}}{3} + \frac {2 a b x^{2} \sqrt {- c^{2} x^{2} + 1}}{9 c} + \frac {4 a b \sqrt {- c^{2} x^{2} + 1}}{9 c^{3}} + \frac {b^{2} x^{3} \operatorname {asin}^{2}{\left (c x \right )}}{3} - \frac {2 b^{2} x^{3}}{27} + \frac {2 b^{2} x^{2} \sqrt {- c^{2} x^{2} + 1} \operatorname {asin}{\left (c x \right )}}{9 c} - \frac {4 b^{2} x}{9 c^{2}} + \frac {4 b^{2} \sqrt {- c^{2} x^{2} + 1} \operatorname {asin}{\left (c x \right )}}{9 c^{3}} & \text {for}\: c \neq 0 \\\frac {a^{2} x^{3}}{3} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 142, normalized size of antiderivative = 1.39 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\frac {1}{3} \, b^{2} x^{3} \arcsin \left (c x\right )^{2} + \frac {1}{3} \, a^{2} x^{3} + \frac {2}{9} \, {\left (3 \, x^{3} \arcsin \left (c x\right ) + c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )}\right )} a b + \frac {2}{27} \, {\left (3 \, c {\left (\frac {\sqrt {-c^{2} x^{2} + 1} x^{2}}{c^{2}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{c^{4}}\right )} \arcsin \left (c x\right ) - \frac {c^{2} x^{3} + 6 \, x}{c^{2}}\right )} b^{2} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 194 vs. \(2 (88) = 176\).
Time = 0.28 (sec) , antiderivative size = 194, normalized size of antiderivative = 1.90 \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\frac {1}{3} \, a^{2} x^{3} + \frac {{\left (c^{2} x^{2} - 1\right )} b^{2} x \arcsin \left (c x\right )^{2}}{3 \, c^{2}} + \frac {2 \, {\left (c^{2} x^{2} - 1\right )} a b x \arcsin \left (c x\right )}{3 \, c^{2}} + \frac {b^{2} x \arcsin \left (c x\right )^{2}}{3 \, c^{2}} - \frac {2 \, {\left (c^{2} x^{2} - 1\right )} b^{2} x}{27 \, c^{2}} + \frac {2 \, a b x \arcsin \left (c x\right )}{3 \, c^{2}} - \frac {2 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} b^{2} \arcsin \left (c x\right )}{9 \, c^{3}} - \frac {14 \, b^{2} x}{27 \, c^{2}} - \frac {2 \, {\left (-c^{2} x^{2} + 1\right )}^{\frac {3}{2}} a b}{9 \, c^{3}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1} b^{2} \arcsin \left (c x\right )}{3 \, c^{3}} + \frac {2 \, \sqrt {-c^{2} x^{2} + 1} a b}{3 \, c^{3}} \]
[In]
[Out]
Timed out. \[ \int x^2 (a+b \arcsin (c x))^2 \, dx=\int x^2\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2 \,d x \]
[In]
[Out]